<template>
	<div>AboutComp</div>
</template>

<script>
export default {
	name: "AboutComp",
	mounted() {
		console.log("AboutComp mounted");
	},
	beforeDestroy() {
		console.log("AboutComp beforeDestroy");
	},
	// 激活
	activated() {
		console.log("AboutComp activated");
	},
	// 未激活
	deactivated() {
		console.log("AboutComp deactivated");
	},
	props: {
		age: {
			type: Number,
			required: true,
		},
		sex: {
			type: Number,
			required: true,
		},
	},
};
</script>

<style></style>
